﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartFarmSleep.Common.Domain
{
    [Table("Departments")]
    public class Departments
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int DepartmentId { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        public string DepartmentName { get; set; }
        /// <summary>
        /// 部门停用
        /// </summary>
        public bool DepartmentStop { get; set; }
        /// <summary>
        /// 部门类型ID
        /// </summary>
        public int DepartmentTypeId { get; set; }
        /// <summary>
        /// 省级ID
        /// </summary>
        public int ProvinceId { get; set; }
        /// <summary>
        /// 市级ID
        /// </summary>
        public int CityId { get; set; }
        /// <summary>
        /// 区县ID
        /// </summary>
        public int CountyId { get; set; }
        /// <summary>
        /// 直接上级
        /// </summary>
        public string DirectSuperior { get; set; }
        /// <summary>
        /// 部门主管
        /// </summary>
        public string DirectSuperiorName { get; set; }
        /// <summary>
        /// 分管责任人
        /// </summary>
        public string InChargeHead { get; set; }
        /// <summary>
        /// 财务责任人
        /// </summary>
        public string Treasurer { get; set; }
        /// <summary>
        /// 可查看人员
        /// </summary>
        public string ViewablePersonnel { get; set; }
        /// <summary>
        /// 职能体系
        /// </summary>
        public string FunctionalSystemId { get; set; }
    }
}
